import request from "../../request.js";
// 查询评论列表
export const getAppraiseList = (params)=>{
	return request.get('/app/comment/list',params)
}
//发布评论
export const putAppraise = (params)=>{
	return request.post('/app/comment/publish',params)
}
//删除评论
export const deleteAppraise = (id)=>{
	return request.delete(`/app/comment/delete/${id}`)
}
//回复评论
export const replyAppraise = (params)=>{
	return request.post('/app/comment/reply',params)
}
// 查询店铺评论列表（待审核处理的评论） 
export const getTodolist = (params)=>{
	return request.get('/app/comment/todolist',params)
}
// 查询店铺已处理的评论列表
export const getProcessedList = (params)=>{
	return request.get('/app/comment/processed',params)
}